package com.ddm.entity.vxEntity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author horizon
 * @since 2025-01-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Score对象", description="")
@Builder
public class Score implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "成绩表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Version
    private Integer version;

    @ApiModelProperty(value = "对应的考试id")
    private Long examId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "总成绩")
    private Integer totalScores;


}
